<div class="widget grid12">
    <div class="whead"><h6>FORMULARIO DE EDICION DE USUARIO </h6><div class="clear"></div></div>
    <?php echo $this->Form->create('Usuario'); ?>
        <div class="formRow">
    <div class="formRow">
        <div class="grid3"><label>Nombre de Usuario:<span class="req">*</span></label></div>
        <div class="grid3">
            <?php echo $this->Form->text('nombre', array('id'=>'nomb', 'size'=>'50',  'class'=>"validate[required]  input-text"));?>
        </div>

        <div class="grid3"><label>Contrase&ncaron;a::<span class="req">*</span></label></div>
        <div class="grid3">
            <?php echo $this->Form->password('contrasena', array('id'=>'pass', 'size'=>'50',  'class'=>"validate[required]  input-text"));?>
        </div>
        <div class="clear"></div>
    </div>
    <div class="formRow">
        <div class="grid3"><label>Correo :<span class="req">*</span></label></div>
        <div class="grid3">
            <?php echo $this->Form->text('correo', array('id'=>'mail', 'size'=>'50','class'=>"validate[required, custom[email] input-text" ));?>
        </div>

        <div class="grid3"><label>Sucursal:<span class="req">*</span></label></div>
        <div class="grid3">
            <?php echo $this->Form->select('sucursal_id', $sucursales);?>
        </div>
        <div class="clear"></div>
    </div>
    
    <div class="formRow">
        <div class="grid3"><label>Estado :<span class="req">*</span></label></div>
        <div class="grid3">
            <?php echo $this->Form->select('estado', array('type' => 'select', 'options' => $opt, 'selected' => '1'));?>
        </div>

        <div class="grid3"><label>Tipo Usuario:<span class="req">*</span></label></div>
        <div class="grid3">
            <?php echo $this->Form->select('tipousuario_id', array('type' => 'select', 'options' => $tipos, 'selected' => '1'));?>
        </div>
        <div class="clear"></div>
    </div>
            
        </div>
</div>
<div class="actions-right">
<?php $options = array('label' => 'Editar Datos','class' => 'buttonS bGreen','id' => 'btEnvia');echo $this->Form->end($options);?> 
        <p></p>
        <?php echo $this->Html->link("Volver &raquo;", array('controller'=>'Facturas', 'action'=>'index'), array('class'=>'buttonS bLightBlue', 'escape' => FALSE)); ?>
</div>


